package cn.wolfcode.luowowo.comment.domain;

import cn.wolfcode.luowowo.member.domain.UserInfo;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@Document("user_reply")
public class WenTiHuiDa implements Serializable {
    @Id
    private String id;//主键id
    private String sheQuWenDaId;//问题Id
    private String content;//用户回答内容
    private UserInfo userInfo;//回答的用户
    private int status = 0;//状态,0:普通回答 1:金牌回答
}
